package com.example.restclient.entity;

import java.util.Date;

public class Customer {

	private Integer id;

	private String name;

	private int age;

	private Boolean sex;

	private Date birth;

	
	public Customer() {}
	public Customer(String name, int age, Boolean sex, Date birth) {
		super();
		this.name = name;
		this.age = age;
		this.sex = sex;
		this.birth = birth;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Boolean getSex() {
		return sex;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	@Override
	public String toString() {
		return "id:"+id+",name:"+name+",age:"+age+",sex:"+sex+",birth:"+birth;
	}
	
}
